<?php
/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */

use yii\helpers\Html;

$this->title = $code . ' ' .$name;
?> 
<div class="site-error">
    <div class="alert alert-danger">
        <i class="fa fa-warning"></i> <?= nl2br(Html::encode($message)) ?>
    </div>
</div>